Conversation
| This annotation propagates across projections and they also omit the ignored elements. This can be overridden with the following annotation: | ||
|
|
||
| ```cds | ||
| annotate Books:ignored with @cds.java.ignore: false; |
There was a problem hiding this comment.
I'm probably lacking modelling knowledge to understand this. How do I set the context where this should be used, for example a service? I guess it's not globally overridden, or?
There was a problem hiding this comment.
Not sure if I understand the question.
There was a problem hiding this comment.
Where is this annotate statement usually located?
There was a problem hiding this comment.
Inside the service where annotation is overridden.
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
|
@renejeglinsky Can we merge this? |
| } | ||
| ``` | ||
|
|
||
| This annotation propagates across projections and they also omit the ignored elements. This can be overridden with the following annotation: |
There was a problem hiding this comment.
| This annotation propagates across projections and they also omit the ignored elements. This can be overridden with the following annotation: | |
| This annotation propagates across projections and they also omit the ignored elements. This can be overridden (in a test, for example) with the following annotation: |
Trying to provide an example use case, can ignore it and merge the PR if you'd like. @vmikhailenko
There was a problem hiding this comment.
Overriding ignore is very exotic. I can remove whole clause about override to avoid confusion.
No description provided.